package com.bstek.uflo.designer.graph;

import org.dom4j.Document;

import com.bstek.uflo.designer.model.process.Process;

/**
 * @author matt.yao@bstek.com
 * @since 1.0
 */
public interface GraphService {

	public static final String BEAN_ID = "uflo.designer.graphService";
	
	public static final String ENTITY_DATA = "entityData";
	public static final String ROOT_ELEMENT_NAME = "opengraph";
	public static final String ELEMENT_NAME = "cell";
	public static final String GRAPH_WIDTH = "1000";
	public static final String GRAPH_HEIGHT = "800";

	public Process serializer(Document doc) throws Exception;

	public Document deserializer(Process process) throws Exception;
	

}
